package com.homelock.mapper;

import com.homelock.entity.HlOpenDoorRecord;
import com.homelock.entity.HlOpenDoorRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HlOpenDoorRecordMapper {
    int countByExample(HlOpenDoorRecordExample example);

    int deleteByExample(HlOpenDoorRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(HlOpenDoorRecord record);

    int insertSelective(HlOpenDoorRecord record);

    List<HlOpenDoorRecord> selectByExample(HlOpenDoorRecordExample example);

    HlOpenDoorRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") HlOpenDoorRecord record, @Param("example") HlOpenDoorRecordExample example);

    int updateByExample(@Param("record") HlOpenDoorRecord record, @Param("example") HlOpenDoorRecordExample example);

    int updateByPrimaryKeySelective(HlOpenDoorRecord record);

    int updateByPrimaryKey(HlOpenDoorRecord record);
}